package com.xinghou.platform.dao.main.common;

import com.xinghou.platform.dao.bases.redis.RedisOperator;
import com.xinghou.platform.util.AppContextUtil;

public class DBUserRelationLevelCached {

	public static int CACHED_DB_INDEX = 7;
	public static String CACHE_URFROM_USERID = "URFromCache:fromUserId,toUserId:%s,%s";
	public static String CACHE_URTO_INFOID = "URToCache:fromUserId,toUserId:%s,%s";

	public static RedisOperator getRedisClient(){
		return (RedisOperator)AppContextUtil.getBean("cachedMainRedisOperator");
	}
	
}
